projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a03294
)
(mouse-drag-should-do-col-scrolling): Change screen-width to frame-width.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 8 Jan 2001 19:12:12 +0000
(19:12 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 8 Jan 2001 19:12:12 +0000
(19:12 +0000)
lisp/mouse-drag.el
patch
|
blob
|
history
diff --git
a/lisp/mouse-drag.el
b/lisp/mouse-drag.el
index 0714078fdeac1a82d9383da2360e2da073819f25..9affe8b488ce901e84b5826bce100dc43e00e933 100644
(file)
--- a/
lisp/mouse-drag.el
+++ b/
lisp/mouse-drag.el
@@
-157,7
+157,7
@@
Keep the cursor on the screen as needed."
Basically, we check for existing horizontal scrolling."
(or truncate-lines
(> (window-hscroll (selected-window)) 0)
- (< (window-width) (
screen
-width))
+ (< (window-width) (
frame
-width))
(and
mouse-drag-electric-col-scrolling
(save-excursion ;; on a long line?